//
//  Config.m
//  OC03_继承_初始化方法_遍历构造器
//
//  Created by Scott on 16/4/20.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import "Config.h"

@implementation Config


#pragma mark - Creating and Init
- (instancetype)initWithCpu:(NSString *)cpu memory:(NSString *)memory disk:(NSString *)disk {
    
    self = [super init];
    if (self) {
        _cpu = cpu;
        _memory = memory;
        _disk = disk;
    }
    
    return self;
    
    
    
}

+ (instancetype)configWithCpu:(NSString *)cpu memory:(NSString *)memory disk:(NSString *)disk {
    
    return [[Config alloc] initWithCpu:cpu memory:memory disk:disk];
}

@end
